module.exports = {
    publicPath: process.env.NODE_ENV === 'production' ? '/language-training' : '/',
    devServer: {
        proxy: {
          '/api': {
            target: 'http://www.wmjh.cn/language-training/api',
            changeOrigin: true,
            pathRewrite: {     
                '^/api': ''
            }
          }
        }
    }
}